package com.wind.taobao.api.huabao.rest
{
	import com.wind.taobao.api.IPublicAPI;
	import com.wind.taobao.core.exception.InvalidRequestParametersException;
	import com.wind.taobao.core.util.TaobaoUtils;
	import com.wind.taobao.core.webservice.TaobaoRequest;

	/**
	 * taobao.huabao.poster.get Request
	 * @author fxy
	 *
	 */
	public class HuabaoPosterGetRequest extends TaobaoRequest implements IPublicAPI
	{
		public override function get method():String
		{
			return "taobao.huabao.poster.get"
		}
		/**
		 * Y 	 画报ID
		 */
		[Bindable]
		public var poster_id:String;

		public override function validate():void
		{
			if (!TaobaoUtils.hasAllValue([poster_id]))
			{
				throw new InvalidRequestParametersException("请求参数[poster_id]不能为空");
			}
		}
	}
}